proto_library(paddle_framework_proto SRCS framework.proto)

add_subdirectory(cpp)
add_subdirectory(pb)

core_gather_headers()

gather_srcs(infrt_src SRCS model_parser.cc scope.cc tensor.cc)

file(
  GLOB includes
  LIST_DIRECTORIES false
  RELATIVE ${CMAKE_SOURCE_DIR}
  *.h)

foreach(header ${includes})
  set(core_includes
      "${core_includes};${header}"
      CACHE INTERNAL "")
endforeach()
